//var swiper = new Swiper('.section .swiper-container', {
//	pagination: '.section .swiper-pagination',
//	slidesPerView: 7,
//	paginationClickable: true,
//});

//var swipers1 = new Swiper('.con', {
//	autoHeight:true,
//	paginationClickable: '.con',
//	  onTransitionEnd: function (swiper) {
//              $('.lis').eq(swipers1.activeIndex).addClass('nav_one').siblings().removeClass('nav_one');
//         }
//
//})
var swipers1 = new Swiper('.con', {
		 pagination: ' .sec .swiper-pagination',
//      paginationClickable: true,
//      nextButton: '.swiper-button-next',
//      prevButton: '.swiper-button-prev',
        autoHeight: true, //enable auto height
        
		speed: 500,
		initialSlide: 0,
		onTransitionEnd: function (swiper) {
                $('.lis').eq(swipers1.activeIndex).addClass('nav_one').siblings().removeClass('nav_one');
           }
	});
$('.lis').click(function() {
			$(this).addClass('nav_one').siblings().removeClass('nav_one');
			swipers1.slideTo($(this).index(), 1000);
		});
var swiper3 = new Swiper('.submenu .swiper-container', {
	pagination: '.swiper-pagination',
	nextButton: '.swiper-button-next',
	prevButton: '.swiper-button-prev',
	paginationClickable: true,
	spaceBetween: 30,
	centeredSlides: true,
	autoplay: 2500,
	autoplayDisableOnInteraction: false
});

			jQuery(function($) {
				$.ajax({
					type: "get",
					url: "json/shou.json",
					dataType: 'json',
					success: function(data) {
						var str = template('s_template', {
							list: data
						});
						$('.sec_lis').html(str);
					}
				});
			})
			
jQuery(function($) {
				$.ajax({
					type: "get",
					url: "json/shou1.json",
					dataType: 'json',
					success: function(data) {
						var str = template('s_templates', {
							arr: data
						});
						$('.sec_li').html(str);
					}
				});
			})

jQuery(function($) {
				$.ajax({
					type: "get",
					url: "json/shou3.json",
					dataType: 'json',
					success: function(data) {
						var str = template('s_templatest', {
							arrs: data
						});
						$('.sec_l').html(str);
					}
				});
			})

jQuery(function($) {
				$.ajax({
					type: "get",
					url: "json/five.json",
					dataType: 'json',
					success: function(data) {
						var str = template('s_templatesf', {
							four: data
						});
						$('.sec_lf').html(str);
					}
				});
			})


jQuery(function($) {
				$.ajax({
					type: "get",
					url: "json/shou2.json",
					dataType: 'json',
					success: function(data) {
						var str = template('s_templatesl', {
							five: data
						});
						$('.sec_ll').html(str);
					}
				});
			})
